// 此文件是用来写mock服务器相关的接口函数的

import request from "@/utils/request-mock"

import type { ReportDataModel } from "./model/data"

// 书写mock服务器的接口函数
export const reqGetReportData = () =>
  request.get<any, ReportDataModel>("/report/data")

// 接口
export const reqGetReportText = () => {
  return request({
    url: "/report/text",
    method: "GET",
  })
}
export const reqGetReportJson = () => {
  return request({
    url: "/report/json",
    method: "GET",
  })
}
